import './index.scss'
const Count = ({ onMinus, onPlus,onDelete, count,item }) => {
  return (
    <div className="goods-count">
      <span className="minus" onClick={onMinus}>-</span>
      <span className="count">{count}</span>
      <span className="plus" onClick={onPlus}>+</span>
      <span className="delete" onClick={onDelete}>删除</span>

    </div>
  )
}

export default Count
